package top.jiachunlei.factory.lesson2;

/**
 * 工厂方法模式
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/12/1 19:33
 */
public class Client2
{
    public static void main(String[] args)
    {
        System.out.println(new SqrtFactory().createOperator().getResult(4.00));
    }
}
